package com.balabala.gym_consume.pojo.dto;

import com.balabala.vo.ShippingAddressVo;
import lombok.Data;

import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;


/**
 * Created by zxd on 2022/5/17
 * 订单提交
 */
@Data
public class OrderSubmitDTO {

    // 提交订单确认页面签发的令牌
    private String orderToken;

    //订单项
    private List<OrderItemDTO> orderItems;

    // 验价前台传值
    private BigDecimal totalPrice;

    // 收货地址
    private ShippingAddressVo deliveryAddress;

    @Size(max = 500, message = "订单备注长度不能超过500")
    private String remark;

    private Integer sourceType;

    private String couponId;

    private BigDecimal payAmount;

    private Integer directBuy;



}
